package com.sss.hloster03;

public class Student {
//属性
	private String stuName;
	private String stuNum;
	private double stuScore;

	// 行为
	/**
	 * 行为方法：输出学生个人信息
	 */
	public void prinMe() {
		System.out.println("姓名：" + stuName + ", 学号：" + stuNum + ", 成绩：" + stuScore);
	}

//构造方法
	public Student() {
		super();
	}

public Student(String stuName, String stuNum, double stuScore) {
	super();
	this.stuName = stuName;
	this.stuNum = stuNum;
	this.stuScore = stuScore;
}
//getter/setter

public String getStuName() {
	return stuName;
}

public void setStuName(String stuName) {
	this.stuName = stuName;
}

public String getStuNum() {
	return stuNum;
}

public void setStuNum(String stuNum) {
	this.stuNum = stuNum;
}

public double getStuScore() {
	return stuScore;
}

public void setStuScore(double stuScore) {
	this.stuScore = stuScore;
}

}
